package chaowan.Service;

import chaowan.pojo.GoodsCategory;

import java.util.List;

public interface GoodsCategoryService {
    List<GoodsCategory> findAll();

    GoodsCategory findById(Long cid);

    GoodsCategory save(GoodsCategory category);

    GoodsCategory update(GoodsCategory category);

    void deleteById(Long cid);

    List<GoodsCategory> list();
}
